package com.ruoyi.common.api.localInventory.dto;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class LocalInventoryDto {
    private String inventoryId;

    /** 产品SKU */
    @Excel(name = "产品SKU")
    private String sku;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productId;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private Long warehouseId;

    /** 实际总量 */
    @Excel(name = "实际总量")
    private BigDecimal actualQuantity;

    /** 可用量 (可销售库存) */
    @Excel(name = "可用量 (可销售库存)")
    private BigDecimal availableQuantity;

    /** 预留量/锁定量 */
    @Excel(name = "预留量/锁定量")
    private BigDecimal reservedQuantity;

    private Integer version;
}
